-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Remove useless assume
s from slice::iter(_mut)
#111447
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Oh wait, it's rollup=never so there's no reason not to r+ it now. @bors r+ |
📌 Commit 4cde41a80030c9ecf354e113756c6a816e4ad085 has been approved by It is now in the queue for this repository. |
🌲 The tree is currently closed for pull requests below priority 50. This pull request will be tested once the tree is reopened. |
⌛ Testing commit 4cde41a80030c9ecf354e113756c6a816e4ad085 with merge 9310adfaa815d4c86044af0e176e7c83788990e7... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
@bors retry |
4cde41a
to
e5e7eb7
Compare
📌 Commit e5e7eb764def1d3fd92eefd0ec63eda4970f8631 has been approved by It is now in the queue for this repository. |
⌛ Testing commit e5e7eb764def1d3fd92eefd0ec63eda4970f8631 with merge ae19200d5e51f1c0a62d525d1adf56b63d5bc0ec... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
e5e7eb7
to
c50a2e1
Compare
Oh, interesting, this with something else that went in after I last rebased means that @bors r=thomcc |
☀️ Test successful - checks-actions |
Finished benchmarking commit (16d3e18): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 659.629s -> 659.427s (-0.03%) |
Perf improvements here massively outweigh the small number of regressions. @rustbot label: +perf-regression-triaged |
You were right in #111395 (comment),
r? @the8472
LLVM already removes these assumes while optimizing, as can be seen in https://rust.godbolt.org/z/KTfWKbdEM.